#pragma once

#include <string>
#include <iostream>
#include "curl/curl.h"
#include "rapidjson/rapidjson.h"
#include "TrTypes.h"


class CTrDataGenerator : public CTrReceiver
{
public:
	CTrDataGenerator(const char* code, int iStyle, int size = 100);
	virtual void OnReceiveData(Tr_ResponseID rId, void* wParam, void* lParam) override;
	void updateTicks(WTSTickStruct tick);
private:
	const char*		m_szCode;
	int				m_Stype;
	int				m_iSize;
};